package com.hava.pipeline.toolbox;

import com.hava.pipeline.toolbox.gui.tray.DesktopSystemTray;
import com.hava.utils.exception.DeveloperException;
import com.hava.utils.pattern.SingletonManager;
import jiconfont.icons.FontAwesome;
import jiconfont.swing.IconFontSwing;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ToolboxClientApplication {
    private static final Logger logger = LoggerFactory.getLogger(ToolboxClientApplication.class);

    public static void main(String[] args) throws DeveloperException {
        logger.info("method main");

        register();

        DesktopSystemTray systemTray = SingletonManager.getInstance(DesktopSystemTray.class);
    }

    private static void register() {
        logger.info("method register");
        IconFontSwing.register(FontAwesome.getIconFont());
    }
}
